/**
 * Created by Administrator on 2015/2/7.
 */
"use strict";
var LoginController = function ($scope, $http,AuthenticationService) {
    $scope.onlogin = function(){
        //验证表单
        if($scope.LoginForm.$valid){
             AuthenticationService.login($scope.LoginForm.data);
            alert(AuthenticationService.msg);
        }
    }
}
LoginController.$inject = ['$scope', '$http','AuthenticationService'];
